﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SharpPcap;

namespace MyNetMonitor
{
    public class PacketSummary
    {
        private PosixTimeval arrivalTime;

        public PosixTimeval ArrivalTime
        {
            get { return arrivalTime; }
            set { arrivalTime = value; }
        }
        private int length;

        public int Length
        {
            get { return length; }
            set { length = value; }
        }
        private string sourceAddress;

        public string SourceAddress
        {
            get { return sourceAddress; }
            set { sourceAddress = value; }
        }
        private string destAddress;

        public string DestAddress
        {
            get { return destAddress; }
            set { destAddress = value; }
        }
        private string sourcePort;

        public string SourcePort
        {
            get { return sourcePort; }
            set { sourcePort = value; }
        }
        private string destPort;

        public string DestPort
        {
            get { return destPort; }
            set { destPort = value; }
        }
    }
}
